home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-08-29 | 2.3 KB | 65 lines |
- ##***************************************************************************
- ## OATH :: Object-oriented Abstract Type Hierarchy
- ##***************************************************************************
- ##
- ## Copyright (C) 1991, 1990 Texas Instruments Incorporated
- ## Permission is granted to any individual or institution
- ## to use, copy, modify, and distribute this software,
- ## provided that this complete copyright and permission notice
- ## is maintained, intact, in all copies and supporting documentation.
- ##
- ## Texas Instruments Incorporated provides this software "as is"
- ## without express or implied warranty.
- ##
- ##***************************************************************************
- ## Makefile for the core OATH type library
- ##
- ##***************************************************************************
-
- ## Note: obj filenames must be unique in first 15 characters!
-
- LIBRARY = liboath.a
- OBJS = ensure.o typeRegisterP.o exportP.o oathCore.o \
- obj.o token.o localToken.o character.o \
- bag.o queue.o seq.o lifoQueue.o \
- slNodeP.o pdlQueue.o \
- fifoQueue.o deq.o list.o string.o \
- dlNodeP.o dlList.o dlcNodeP.o minString.o \
- set.o hashSet.o finiteSet.o characterSet.o \
- table.o stringTable.o \
- numeric.o bigInteger.o
-
- #############################################################################
- ## Set-up C++ Compilation
-
- CCC = CC
- CCFLAGS = -O
- CPPFLAGS = -I../../include
-
- #COMPILE.cc = $(CCC) $(CCFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
- #LINK.cc = $(CCC) $(CCFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
-
- %.o : ../../src/%.cc
- $(COMPILE.cc) $<
-
- #############################################################################
-
- .KEEP_STATE:
- .PRECIOUS: $(LIBRARY)
-
- #############################################################################
-
- all :
- cd lib/$(TARGET_ARCH:-%=%); make library
-
- library : $(LIBRARY)
-
- $(LIBRARY) : $(LIBRARY)($(OBJS))
- ar rv $@ $?
- ranlib $@
-
- $(LIBRARY)(%.o) : %.o
-
-
- #############################################################################
-